﻿using System;
using WeiboPlus.Common;
using WeiboPlus.Models;
using WeiboPlus.Service;

namespace WeiboPlus.Renren
{
    public class RenRenSNSProvider : SNSProvider
    {

        protected override void Initialize()
        {
            base.Initialize();
            this.ProviderName =  AppResx.RenRenMicroblogText;
            this.Type = SNSProviderType.RenRen;
            
        }

        protected override IOAuthService GetAuthriozeService()
        {
            throw new NotImplementedException();
        }

        protected override OAuthSettings GetAuthSettings()
        {
            return ConfigrationManager.Current[SNSProviderType.RenRen];
        }

        public override Uri GetIconUrl()
        {
            return new Uri("/Icons/renren_32.png", UriKind.Relative);
        }

        public override bool IsSupported
        {
            get { return true; }
        }
    }
}
